package cn.richard.home.view.adapter

import cn.richard.home.R
import cn.richard.home.api.data.PicCategory
import cn.richard.home.databinding.ItemPicCategoryBinding
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder


/**
 *
 * @ProjectName: PicApp
 * @Author: wuzhiguo@aiforward.com
 * @CreateDate: 2021/9/2 10:15 上午
 * @Description:
 */
class PicCategoryAdapter: BaseQuickAdapter<PicCategory, BaseDataBindingHolder<ItemPicCategoryBinding>>
    (R.layout.item_pic_category) {


    override fun convert(holder: BaseDataBindingHolder<ItemPicCategoryBinding>, item: PicCategory) {
        holder.dataBinding?.model = item
    }


}